package com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class Xiaofei implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String id; //主键，不是自增，是雪花ID
    private String pin; //pin码
    @TableField("xf_amount")
    private BigDecimal xfAmount; //消费金额
    @TableField("staff_balance")
    private BigDecimal staffBalance; //用户余额
    @TableField("staff_id")
    private String staffId; //用户ID
    @TableField("card_no")
    private String cardNo; //消费卡号
    @TableField("xf_time")
    private Date xfTime; //消费时间
    @TableField("xf_type")
    private Integer xfType;//消费类型，3：转账(与充值来源的取值同步）；4：支付
    @TableField("xf_memo")
    private String xfMemo; //备注说明
    @TableField("xf_receiver")
    private String xfReceiver; //被消费方名称
}
